package com.ysd.lis.controller.qi;


import com.ysd.common.Result;
import com.ysd.lis.controller.pub.BaseController;
import com.ysd.lis.entity.qi.QiIndexSqlData;
import com.ysd.lis.service.qi.QiIndexSqlDataService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 指标项目条件表 前端控制器
 * </p>
 *
 * @author PRS
 * @since 2024-07-15
 */
@Api(tags = "质量指标抽取数据")
@RestController
@RequestMapping("/api/qi/qiIndexSqlData")
public class QiIndexSqlDataController extends BaseController {

    @Autowired
    private QiIndexSqlDataService qiIndexSqlDataService;

    @ApiOperation("立即执行")
    @GetMapping("/executeImmediatelyData")
    public Result executeImmediatelyData(QiIndexSqlData pageParam) {
        return qiIndexSqlDataService.synQiIndexSqlData(pageParam);
    }

}
